import os
import sys
import time

#k = sys.argv[1]
for i in range(1800, 2000, 500):
    print "*" * 10
    print i
    print "*" * 10
    for k in range(12, 13, 2):
        print k
        print time.asctime()
        os.popen3("Ngram.py 3 %s %s" % (k, i))
